package com.coin900.coin.service.sop;

import com.coin900.coin.persist.sop.SopRoleVO;
import com.value.mybatis.Pagination;

import java.util.List;
import java.util.Map;

/**
 * @author shui
 * @create 2018-01-05
 **/
public interface ISopRoleService {

    List<SopRoleVO> loadSopRole(Map<String, Object> params);

    List<SopRoleVO> loadSopRoleForPage(Pagination pagination);

    void insertSopRole(SopRoleVO sopRoleVO);

    void updateSopRole(SopRoleVO sopRoleVO);

    /**
     * 修改角色拥有菜单和按钮的
     *
     * @param sopRoleVO
     */
    void updateSopRoleMenuAndButton(SopRoleVO sopRoleVO);

    void deleteSopRole(SopRoleVO sopRoleVO);

}